package com.itheima.stock;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 定义main的启动类
 */
@SpringBootApplication
@MapperScan("com.itheima.stock.mapper") //不加这个注解直接在mapper包下加@mapper
public class StockAApp {
    public static void main(String[] args){
        SpringApplication.run(StockAApp.class,args);
    }
}
